package com.usc.pys7.module;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
//import org.springframework.data.relational.core.mapping.Table;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;
@Data
//@Table
public class Student implements Serializable {
    @TableId( type=IdType.AUTO)
    private Integer id;
    private String name;
    private Integer age;
    private String gender;
    private String photo;
    @JsonIgnore
    @TableField(exist=false)
    private MultipartFile photofile;
}